/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Clases2;

/**
 *
 * @author luis
 */
public class main {

    /**
     *
     * @param args
     */
    public static void main(String[] args) {
        Persona persona1 = new Persona("pepe", 10);
        Empleado empleado1 = new Empleado("pablo", 20, 1000);
        persona1.showData();
        empleado1.showData();
        empleado1.mostrarSueldo();
    }
}
